﻿using System;
using System.Collections;
using System.Configuration;
using System.Data;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;

namespace ZLDC.Transaction.UI.AjaxData
{
    public partial class GetDeptTree : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            string sId = Request.QueryString["id"].ToString().Trim();

            ZLDC.Topo.BLL.Estate.DeptTree zdt = new ZLDC.Topo.BLL.Estate.DeptTree();
            string sDeptHtml = string.Empty;
            if (sId != string.Empty)
            {
                sDeptHtml = zdt.GetSonDept(sId);
            }
            Page.Response.Write(sDeptHtml.ToString());
            Page.Response.End();
        }
    }
}
